#ifndef IMAGERESOURCE_H
#define IMAGERESOURCE_H

#include "core/Resources.h"
#include <SDL/SDL_image.h>
#include "types/Image.h"

namespace SolidityEngine{

class ImageResource: public Resource, public Image
{
    public:
        ImageResource(const std::string& path, const std::string& name="Image");
        ~ImageResource();

        virtual void Load();
        virtual void UnLoad();

    private:
        virtual ImageResource* _Clone();
};

};
#endif // IMAGERESOURCE_H
